﻿namespace Kernelx.Common.Data
{
    /// <summary>
    /// 
    /// </summary>
    public class NameValuePair : NameValuePair<string>
    {
        /// <summary>
        /// 
        /// </summary>
        public NameValuePair() : base() { }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="name"></param>
        /// <param name="value"></param>
        public NameValuePair(string name, string value) : base(name, value) { }

        /// <summary>
        /// 
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="name"></param>
        /// <param name="value"></param>
        /// <returns></returns>
        public static NameValuePair<T> Create<T>(string name, T value) => new NameValuePair<T>(name, value);
    }
}
